<script setup lang="ts"></script>

<template>
  <view class="h-full flex flex-col overflow-hidden bg-pagebg">
    <view class="bg-white px-4 pb-4">
      <AppStatusBar />
      <ShopTitleBar title="大鸭梨餐厅(上地店)" color="#333" />
    </view>
    <scroll-view
      scroll-y
      class="box-border flex-1 overflow-hidden px-3 py-4"
      :show-scrollbar="false"
    >
      <CardBar title="开店设置">
        <wd-grid :column="4" clickable>
          <wd-grid-item icon="picture" text="门店档案" url="/pages/shop/shopInfo" />
          <wd-grid-item icon="picture" text="收银基础设置" url="/pages/cashier/index" />
          <wd-grid-item icon="picture" text="结账方式管理" url="/pages/payment/index" />
          <wd-grid-item icon="picture" text="员工账号" url="/pages/employeeAccount/index" />
          <wd-grid-item icon="picture" text="权限" />
          <wd-grid-item icon="picture" text="前台码" url="/pages/foregroundCode/index" />
          <wd-grid-item icon="picture" text="常用备注" url="/pages/remark/index" />
        </wd-grid>
      </CardBar>
      <CardBar title="菜品管理" custom-class="mt-4">
        <wd-grid :column="4" clickable>
          <wd-grid-item icon="picture" text="菜品管理" url="/pages/dishManagement/index" />
          <wd-grid-item icon="picture" text="录菜" url="/pages/dishManagement/dishType" />
          <wd-grid-item icon="picture" text="菜品分类" url="/pages/dishCategory/index" />
          <wd-grid-item icon="picture" text="时段菜单" />
          <wd-grid-item icon="picture" text="规格" url="/pages/spec/index" />
          <wd-grid-item icon="picture" text="做法" url="/pages/make/index" />
          <wd-grid-item icon="picture" text="加料" url="/pages/addIngredients/index" />
          <wd-grid-item icon="picture" text="单位" url="/pages/unit/index" />
          <wd-grid-item icon="picture" text="标签" url="/pages/label/index" />
          <wd-grid-item icon="picture" text="餐盒" url="/pages/mealBox/index" />
          <wd-grid-item icon="picture" text="手机点餐设置" url="/pages/mobileOrdering/index" />
        </wd-grid>
      </CardBar>
      <CardBar title="餐厅设置" custom-class="mt-4">
        <wd-grid :column="4" clickable>
          <wd-grid-item icon="picture" text="桌台管理" url="/pages/canteenTable/index" />
          <wd-grid-item icon="picture" text="经营参数配置" />
          <wd-grid-item icon="picture" text="必点菜" url="/pages/mustOrderDishes/index" />
          <wd-grid-item icon="picture" text="服务费" url="/pages/serviceCharge/index" />
        </wd-grid>
      </CardBar>
      <CardBar title="外卖管理" custom-class="mt-4">
        <wd-grid :column="4">
          <wd-grid-item icon="picture" text="美团外卖" />
        </wd-grid>
      </CardBar>
      <CardBar title="打印管理" custom-class="mt-4">
        <wd-grid :column="4" clickable>
          <wd-grid-item icon="picture" text="打印模板" url="/pages/printTemplate/index" />
        </wd-grid>
      </CardBar>
    </scroll-view>
  </view>
  <app-tab-bar value="workbench" />
</template>

<route lang="json5">
{
  layout: 'tabar',
}
</route>
